<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window"
  design="device:pc;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:220px;left:25px;"> 
    <!--
    <div component="$UI/system/components/justep/data/restData" confirmRefresh="false"
      isSlave="false" limit="-1" url="/dbrest" xid="groupData" _created="true" auto="load"
      className="/comp/wxapi/WXConfig"> 
      <filter name="_system_" xid="filter1">ilike('key',"miniapp.appID")</filter>
    </div>
    -->
    <div component="$UI/system/components/justep/data/data" autoLoad="true"
      xid="groupData" idColumn="id" onCustomRefresh="groupsCustomerRefresh" confirmRefresh="false" limit="20" autoNew="false">
      <column name="id" type="String" xid="xid5"/>  
      <column name="fkey" type="String" xid="xid6"/>  
      <column name="fvalue" type="String" xid="xid7"/>
      <column name="flabel" type="String" xid="xid8"/>
      <column name="fgroup" type="String" xid="xid9"/>
      <column name="issecure" type="String" xid="xid10"/> 
    </div>
  </div>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"
    xid="panel1"> 
    <div class="x-panel-content" xid="content1"> 
      <div xid="div4" class="menu-drop" bind-visible="$model.showView.get()"
        style="display:none;"> 
        <ul xid="ul1" class="menu-ul"> 
          <li xid="li2"> 
            <a component="$UI/system/components/justep/button/button" class="btn btn-link"
              label="返回" xid="backCheckBtn" icon="linear linear-chevronleft" onClick="backCheckBtnClick"> 
              <i xid="i4" class="linear linear-chevronleft"/>  
              <span xid="span9">返回</span> 
            </a>  
            <a component="$UI/system/components/justep/button/button" class="btn btn-link"
              label="附近" xid="button3" onClick="showPageClick" bind-css="{'active':$model.menuDrop.get()==2}"
              url="./xcxNearBy.w"> 
              <i xid="i3"/>  
              <span xid="span7">附近</span> 
            </a>  
            <a component="$UI/system/components/justep/button/button" class="btn btn-link"
              label="消息模板" xid="button5" onClick="showPageClick" bind-css="{'active':$model.menuDrop.get()==3}"
              url="./wxtemplate/templateMsg.w"> 
              <i xid="i5"/>  
              <span xid="span5">消息模板</span> 
            </a> 
          </li> 
        </ul> 
      </div>  
      <div xid="div1" style="height: 100%;max-height: calc(100% - 68px);min-height: calc(100% - 112px);"
        class="key-set" bind-visible="$model.showView.get()==false"> 
        <div xid="div2" style="width:90%;margin: 0 auto;"> 
          <p xid="p1" style="padding: 16px 0;border-bottom: 1px solid #ddd;margin-bottom: 32px;"><![CDATA[小程序参数选择]]></p>  
          <div component="$UI/system/components/justep/row/row" class="x-row"
            xid="row2" style="border-bottom: 1px solid #ddd"> 
            <div class="x-col x-col-center" xid="col2"><![CDATA[]]>  
              <span xid="span3"><![CDATA[小程序appid]]></span> 
            </div>  
            <div class="x-col x-col-center" xid="col5"> 
              <span xid="span8"><![CDATA[分组类别]]></span> 
            </div>  
            <div class="x-col x-col-fixed" xid="col6" style="width: auto"> 
              <a component="$UI/system/components/justep/button/button" class="btn x-blue"
                label="刷新" xid="button1" icon="linear linear-sync" onClick="{&quot;operation&quot;:&quot;groupData.refresh&quot;}"> 
                <i xid="i1" class="linear linear-sync" style="margin-right: 6px"/>  
                <span xid="span1">刷新</span> 
              </a> 
            </div> 
          </div>  
          <div component="$UI/system/components/justep/list/list" class="x-list"
            xid="list1" data="groupData" autoLoad="true"> 
            <ul class="x-list-template" xid="listTemplateUl1"> 
              <li xid="li1"> 
                <div component="$UI/system/components/justep/row/row" class="x-row"
                  xid="row1"> 
                  <div class="x-col" xid="col1"> 
                    <span xid="span2" bind-text="val('fvalue')"/> 
                  </div>  
                  <div class="x-col" xid="col3"> 
                    <span xid="span4" bind-text="val('fgroup')"/> 
                  </div>  
                  <div class="x-col x-col-fixed" xid="col4" style="width:auto;"> 
                    <a component="$UI/system/components/justep/button/button"
                      class="btn x-blue" label="设置" xid="button2" onClick="button2Click"
                      icon="linear linear-select"> 
                      <i xid="i2" class="linear linear-select" style="margin-right: 6px;"/>  
                      <span xid="span6">设置</span> 
                    </a> 
                  </div> 
                </div> 
              </li> 
            </ul> 
          </div> 
        </div> 
      </div>  
      <div xid="div6" class="con-wrap" style="min-height: calc(100% - 112px);display:none;"
        bind-if="$model.showView.get()" bind-visible="$model.showView.get()"> 
        <div component="$UI/system/components/justep/windowContainer/windowContainer"
          class="x-window-container" xid="pageContainer"/> 
      </div> 
    </div> 
  </div> 
</div>
